package cn.koala.key.complaint.entity.enums;

import cn.koala.key.common.enums.HasCaption;
import cn.koala.key.common.enums.HasCode;

/**
 * 是否消费
 *
 * @author caihe
 * @date 2021/1/1416:15
 */
public enum ComplaintSpendEnum implements HasCode, HasCaption {
    /** 未消费  */
    BEEN_SPENDING(1, "已消费"),
    /** 未消费 */
    NOT_SPEND(2, "未消费");

    private Integer code;

    private String caption;

    ComplaintSpendEnum(Integer code, String caption) {
        this.code = code;
        this.caption = caption;
    }

    @Override
    public String getCaption() {
        return caption;
    }

    @Override
    public Integer getCode() {
        return code;
    }
}
